<!DOCTYPE html>
<html lang="zh-CN">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>

    <script type="text/javascript" src="js/script.js"></script>
    <script type="text/javascript">
        alert("这是我的内部js代码");
        // document.write("哎嘿");
        // console.log("哎嘿");
    </script>

</head>

<body>
    <a href="javascript:alert('点！');">你也点我一下！</a>
    <a href="javascript:;">你也点我一下！</a>
</body>

</html>